package com.ruoyi.Money.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 金额流向表 xyb_money
 * 
 * @author ruoyi
 * @date 2019-08-19
 */
public class Money extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 订单id */
	private Integer orderId;
	/** 用户id */
	private Integer userId;
	/** 金额 */
	private Double jine;
	/** 支付方式 5001微信 5002 余额 5003 金币 */
	private String payWay;
	/** 红包id */
	private Integer hbUserId;
	/** 记录 */
	private String jilu;
	/**  */
	private String nowMoney;
	/** 是否有效 1有效 0无效 */
	private Integer valid;
	/** 创建时间 */
	private Date creactDate;
	/** 修改时间 */
	private Date modifyDate;
	/** 修改人 */
	private String modifyBy;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setOrderId(Integer orderId) 
	{
		this.orderId = orderId;
	}

	public Integer getOrderId() 
	{
		return orderId;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setJine(Double jine) 
	{
		this.jine = jine;
	}

	public Double getJine() 
	{
		return jine;
	}
	public void setPayWay(String payWay) 
	{
		this.payWay = payWay;
	}

	public String getPayWay() 
	{
		return payWay;
	}
	public void setHbUserId(Integer hbUserId) 
	{
		this.hbUserId = hbUserId;
	}

	public Integer getHbUserId() 
	{
		return hbUserId;
	}
	public void setJilu(String jilu) 
	{
		this.jilu = jilu;
	}

	public String getJilu() 
	{
		return jilu;
	}
	public void setNowMoney(String nowMoney) 
	{
		this.nowMoney = nowMoney;
	}

	public String getNowMoney() 
	{
		return nowMoney;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreactDate(Date creactDate) 
	{
		this.creactDate = creactDate;
	}

	public Date getCreactDate() 
	{
		return creactDate;
	}
	public void setModifyDate(Date modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public Date getModifyDate() 
	{
		return modifyDate;
	}
	public void setModifyBy(String modifyBy) 
	{
		this.modifyBy = modifyBy;
	}

	public String getModifyBy() 
	{
		return modifyBy;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("jine", getJine())
            .append("payWay", getPayWay())
            .append("hbUserId", getHbUserId())
            .append("jilu", getJilu())
            .append("nowMoney", getNowMoney())
            .append("valid", getValid())
            .append("creactDate", getCreactDate())
            .append("modifyDate", getModifyDate())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .toString();
    }
}
